package com.haifeng.jupiter.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  主入口类
 * </p>
 * @Author: Haifeng
 * @Date: 2020-08-08
 */
@RestController
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.haifeng.jupiter.gateway"})
public class JupiterGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(JupiterGatewayApplication.class, args);
    }

    @GetMapping("/favicon.ico")
    public void getFavicon(){
    }
}
